/**
 * 
 */
package light.mvc.service.record;

import java.util.List;

import light.mvc.pageModel.base.PageFilter;
import light.mvc.pageModel.meetingroom.RoomPageModel;
import light.mvc.pageModel.record.Room;
import light.mvc.pageModel.sys.Dictionarytype;
import light.mvc.pageModel.sys.Role;

/**
 * @author laijianbo 2014-5-21上午10:21:08
 */
public interface RoomServiceI {

	/**
	 * @return
	 */
	List<Room> getAllRoom();

	/**
	 * @param room
	 * @param ph
	 * @return
	 */
	List<Room> dataGrid(Room room, PageFilter ph);

	/**
	 * @param room
	 * @param ph
	 * @return
	 */
	Long count(Room room, PageFilter ph);

	Room getById(long id);

	Room getByName(String name);

	void add(Room room);

	void delById(Long id);

	List<Room> getAllRoomUsedForDel();
	
	public void edit(RoomPageModel room);

}
